/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sysdance.aplicativo.servico;

import org.syndance.aplicativo.business.BCurso;
import org.sysdance.aplicativo.modelo.Curso;

/**
 *
 * @author gocard
 */
public class SCurso {

    private static SCurso sCurso = null;
    
     public static SCurso scurso = new SCurso();

    public static SCurso getInstace() {
        if (sCurso == null) {
            sCurso = new SCurso();
        }
        return sCurso;
    }

    public void salva(Curso curso) throws Exception {

        try {

            BCurso.getInstace().salva(curso);

        } catch (Exception e) {

            throw e;
        }
    }

}
